<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Node Notes &gt;&gt; <%=title%></title>

    <!-- Bootstrap core CSS -->
    <link rel="stylesheet" href="/vendor/bootstrap/css/bootstrap.css">
    <!-- High Light CSS -->
    <link rel="stylesheet" href="/vendor/pagedown/css/pagedown.css" />
        
    <!-- Custom styles for this template -->
    <link href="/assets/css/main.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>
    <div class="container">
      <div class="header">
        <ul class="nav nav-pills pull-right">
          <li><a href="/">Home</a></li>
          <% if (user) { %>
            <li><a href="/post">Post</a></li>
            <li><a href="/sign-out">Sign out</a></li>          
          <% } else { %>
            <li><a href="/sign-up">Sign up</a></li>
            <li><a href="/sign-in">Sign in</a></li>
          <% } %>
        </ul>
        <h3 class="text-muted">Node Notes</h3>
      </div>  
